<div class="col-lg-{$addons_config.width} col-md-{$addons_config.width}">
    <div class="panel panel-default">
        <div class="panel-heading">{$addons_config.title}</div>
        <div class="panel-body">
            <table class="table ">
                <tr>
                    <th>最新订单</th>
                    <td><a href="{:U('Admin/Orders/view',array('id'=>$last_info['id']))}">用户：{$user.username} 订单：{$last_info.order_code}</a></td>
                </tr>
                <tr>
                    <th>今日订单数量</th>
                    <td>{$order_count}</td>
                </tr>
                <tr>
                    <th>已上架商品数量</th>
                    <td>{$onshelf}</td>
                </tr>
                <tr>
                    <th>已下架商品数量</th>
                    <td>{$not_onshelf}</td>
                </tr>
                <tr>
                    <th>MYSQL版本</th>
                    <php>
                        $system_info_mysql = M()->query("select version() as v;");
                    </php>
                    <td>{$system_info_mysql.0.v}</td>
                </tr>
                <tr>
                    <th>上传限制</th>
                    <td>{:ini_get('upload_max_filesize')}</td>
                </tr>
            </table>
        </div>
    </div>
</div>
{__NORUNTIME__}